<template>
	<view class="v1">
		<SearchBox></SearchBox>
	</view>
	<Education :line="line"></Education>
	<uni-load-more status="loading" />
</template>

<script setup>
	import searchBox from '@/components/SearchBox/SearchBox.vue'
	import Education from '@/components/Education-headline/Education-headline1.vue'
	import http from '@/utils/http.js'
	import {ref,onMounted} from 'vue';
	const line=ref([]);
	let getdata=function(){
		http({
			url:'/article/education/listNoPage',
		}).then((res)=>{
			if(res.code==0){
				line.value=res.data
				console.log(line.value);
			}
		})
	}
	onMounted(()=>{
		getdata()
	})
</script>

<style>
	.v1{
		margin-left:48rpx;
		margin-right: 48rpx;
	}
</style>
